package com.modules.entity;

import lombok.Data;

/**
 * License校验类需要的参数
 */
@Data
public class LicenseVerifyParam {

    /**
     * 证书subject
     */
    private String subject;

    /**
     * 公钥别称
     */
    private String publicAlias;

    /**
     * 访问公钥库的密码
     */
    private String storePass;

    /**
     * 证书生成路径
     */
//    private String licensePath;
    private String licenseBase64;

    /**
     * 密钥库存储路径
     */
//    private String publicKeysStorePath;
    private String publicCertsBase64;

    public LicenseVerifyParam() {

    }

    public LicenseVerifyParam(String subject, String publicAlias, String storePass, String licenseBase64, String publicCertsBase64) {
        this.subject = subject;
        this.publicAlias = publicAlias;
        this.storePass = storePass;
        this.licenseBase64 = licenseBase64;
        this.publicCertsBase64 = publicCertsBase64;
    }

}
